<div id='menu'>
	<div id='login'>
		<?php
			if($_COOKIE['loginId'] == 0)
			{
			?>
				<form action='login.php' method='post' id='loginForm'>
					<input type='hidden' name='submitted' id='submitted' value='1'/>
					<label for='username' >Username:</label>
					<input type='text' name='username' id='username'  maxlength="50" />
					<label for='password' >Password:</label>
					<input type='password' name='password' id='password' maxlength="50" />
					<div id='loginButton' onclick='document.getElementById("loginForm").submit();'>Login</div>
				</form>
			<?php
			}
		?>
	</div>
	<a href='index.php'>Home</a><br>
</div>